package com.cgbl.cg.adapter

import androidx.recyclerview.widget.LinearLayoutManager
import com.cgbl.cg.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class CareerPathCourseAdapter :
    BaseQuickAdapter<String, BaseViewHolder>(R.layout.app_item_career_course) {

    override fun convert(holder: BaseViewHolder, item: String) {
        val position = holder.adapterPosition
        holder.setGone(R.id.v_top_line, position == 0)
        holder.setGone(R.id.v_bottom_line, position == data.size - 1)

    }

}